import {noAuth} from '../noAuth'

// 登录
export const login = ({username, password}) => {
  return noAuth.post('/public/login', {
    username,
    password
  })
}

export const loginFromMainSys = ({username, password}) => {
  return noAuth.post('/public/loginFromMainSys', {
    username,
    password
  })
}
